import { exSwitch } from '@ve/common/components/extension'
export default {
  VERSION: '20220425',
  type: 'uiCollapse',
  name: '折叠面板',
  icon: 'menu-5-line',
  svg: 'zhediemianban',
  //扩展
  extension: {
    tabOption: {
      type: 'exTabOption',
      name: '面板页选项',
      value: [],
    },
    accordion: exSwitch('手风琴模式', true),
    activeName: {
      type: 'exInput',
      name: '默认展开项',
      value: '',
      tooltip: '请输入需要默认展开的项的下标，下标从0开始，多个值用’,‘分隔',
    },
  },
  list: [
    { type: 'collapseList', actions: [], label: '菜单0', value: '0', name: '菜单0', list: [] },
    { type: 'collapseList', actions: [], label: '菜单1', value: '1', name: '菜单1', list: [] },
    { type: 'collapseList', actions: [], label: '菜单2', value: '2', name: '菜单2', list: [] },
    { type: 'collapseList', actions: [], label: '菜单3', value: '3', name: '菜单3', list: [] },
  ],
  //交互
  interaction: [],
  //条件、逻辑指令
  logicInstruction: [],
}
